<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style>
table {
	width: 500px;
	border-collapse: collapse;	
	padding-left:2em; 
	padding-right:30px;
  	padding-top:20px;
}
</style>
<div >
<table  border="1">

	<tr border="1" style="font-size: 20px";>
		<th >课程</th>
		<th>成绩</th>
	</tr>
	<c:forEach items="${list }" var="g">
		<tr>
			<td>${g.course.name }</td>
			<td><input type="text" value="${g.grade }" onchange="cjChange(${g.id },this.value)" style="width: 340;height: 40;"></td>
		</tr>

	</c:forEach>
	
</table>
</div>